package net.guerlab.smart.platform.user.service.service;

import net.guerlab.smart.platform.server.service.BaseFindService;
import net.guerlab.smart.platform.user.service.entity.OperationLog;

/**
 * 操作记录服务
 *
 * @author guer
 */
public interface OperationLogService extends BaseFindService<OperationLog, Long> {

    /**
     * 添加操作记录
     *
     * @param entity
     *         操作记录
     */
    void add(OperationLog entity);

    /**
     * 获取实体类型
     *
     * @return 实体类型
     */
    @Override
    default Class<OperationLog> getEntityClass() {
        return OperationLog.class;
    }
}
